<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
		    *{
				padding: 0;
				margin: 0;
			}
			#imgdiv{
				display: flex;
				width: 1600px;
				height:100px ;
			}
			#imgdiv img{
				width: 100px;
				height: 100px;
			}
			#container{
				width: 100%;
				height: 600px;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			#outdiv{
				height: 500px;
				width: 500px;
				display: flex;
				align-items: center;
				background-color: red;
				overflow: hidden;
			}
		</style>
	</head>
	
	<body>
		<div id="container">
			<div id="outdiv">
				<div id="imgdiv">
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
					<img src="img/lunbo/7.jpeg" >
					<img src="img/lunbo/8.jpeg" >
					<img src="img/lunbo/9.jpeg" >
					<img src="img/lunbo/10.jpeg">	
				    <img src="img/lunbo/1.jpeg" >
				    <img src="img/lunbo/2.jpeg" >
				    <img src="img/lunbo/3.jpeg" >
				    <img src="img/lunbo/4.jpeg" >
				    <img src="img/lunbo/5.jpeg" >
				    <img src="img/lunbo/6.jpeg" >
				</div>
			</div>			
		</div>		
	</body>
	<script type="text/javascript">
		var imgObj=document.getElementById('imgdiv');
		var marginleft= 0;
		onload = function(){
			setInterval(function(){
				marginleft--;
				imgObj.style.marginLeft=marginleft+'px'
				if (marginleft==-1000) {
					marginleft=0;
				}
			},5)
		}
	</script>
</html>
